package com.test.personalblogproject.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * (FavoritesCollection)实体类
 *
 * @author makejava
 * @since 2025-09-14 20:42:14
 */
@Data
@TableName("favorites_collection")
public class FavoritesCollection {

/**
     * 收藏夹的唯一主键，自增长
     */
@TableId(type = IdType.AUTO)
private Long id;
/**
     * 关联用户表(user)的主键，表示这个收藏夹属于谁
     */
    private String userId;
/**
     * 收藏夹的名称
     */
    private String name;
/**
     * 是否私有
     */
    private Integer privateornot;
/**
     * 创建时间
     */
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrivateornot() {
        return privateornot;
    }

    public void setPrivateornot(Integer privateornot) {
        this.privateornot = privateornot;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}

